﻿<%@ Page Title="新增商品" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="new.aspx.cs" Inherits="STP.Account.AddProduct" Async="true" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <div class="form-horizontal">
    <h4>新增商品</h4>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">商品名称：</asp:Label>
        <div class="col-md-10">
            <asp:TextBox runat="server" ID="Name" CssClass="form-control" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">商品标签(用英文逗号分隔)：</asp:Label>
        <div class="col-md-10">
            <asp:TextBox runat="server" ID="Tags" CssClass="form-control" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">预估价格：</asp:Label>
        <div class="col-md-10">
            <asp:TextBox runat="server" ID="Price" CssClass="form-control" />　元
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">商品示意图：</asp:Label>
        <div class="col-md-10">
            <asp:FileUpload ID="picUpload" runat="server" CssClass="col-md-3"/>
            <asp:Label ID="picLabel" runat="server" CssClass="col-md-5 control-label" ></asp:Label>
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">商品描述：</asp:Label>
        <div class="col-md-10">
            <asp:TextBox runat="server" ID="Content" CssClass="form-control" TextMode="MultiLine" MaxLength="1000" Height="200px" />
        </div>
    </div>
    <asp:Button runat="server" Text="确认发布" OnClick="submit_Click" CssClass="btn btn-default" />
    
</div>

</asp:Content>
